<template>
	<view>
		<view class="date" @click="show = true">
			<image class="img" src="@/static/img/choose-date.png" mode="widthFix"></image>
		</view>
		<view class="item sales-promotion fcs" v-for="(item, index) in 10" :key="index">
			<view class="l">
				<image class="i" src="@/static/peisong.png" mode=""></image>
			</view>
			<view class="r">
				<view class="t fcs">
					<view class="il">
						店铺名称
					</view>
				</view>
				<view class="b">
					<view class="ibt fcs">
						<view class="il">
							累计销量：
						</view>
						<view class="ir">
							99999
						</view>
					</view>
					<view class="ibt fcs">
						<view class="il">
							累计销售额：
						</view>
						<view class="ir">
							¥225.55
						</view>
					</view>
				</view>
			</view>
		</view>

		<u-calendar active-bg-color="#F3060D" range-bg-color="rgba(243,6,13,0.13)" range-color="#F3060D" v-model="show"
			mode="range"></u-calendar>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				show: false
			};
		}
	}
</script>

<style lang="scss" scoped>
	::v-deep .u-btn {
		background-color: #F3060D!important;
		color: #FFF;
	}
	
	.sales-promotion {
		.r {
			width: calc(100% - 28rpx - 160rpx);
			height: 160rpx;
			display: flex;
			flex-direction: column;
			justify-content: space-between;

			.ibt {
				color: #383838;
				font-size: 26rpx;
				// font-weight: 500;
			}

			.t {
				.il {
					color: #383838;
					font-size: 30rpx;
					font-weight: 700;
				}
			}
		}

		.l {
			margin-right: 28rpx;

			.i {
				width: 160rpx;
				height: 160rpx;
				border-radius: 10rpx;
			}
		}
	}

	.item {
		padding: 30rpx;
		box-sizing: border-box;
		border-radius: 10rpx;
		background-color: #FFF;
		margin-top: 20rpx;
	}

	.fcs {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.date {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		margin: 26rpx 0;

		.img {
			width: 50rpx;
		}
	}
</style>
<style>
	page {
		background-color: #F4F5F7;
		padding: 20rpx;
		box-sizing: border-box;
	}
</style>